<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
	</body>
	<script>
		const aNumber = (...nums) => nums;
		console.log(aNumber(1,2,3,4,5,6));
		const aNumber1 = function(...nums){
			return nums;
		}
		console.log(aNumber1(1,2,3,4,5,6));
		//可以采用双冒号的方法把左边的对象绑定到右边的函数中
		foo::bar//将foo对象绑定到bar函数上，在bar函数中打印this，this指向的是foo
	</script>
</html>
